package io.renren.monitor;

import java.util.TimerTask;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import io.renren.modules.iots.service.IotsSystemMonitorService;

/**
 * 清除数据类
 * 接收的cpu内存等消息
 * 
 * @author lfy.xys
 * @date 2018年5月15日
 *
 */
public class ClearInfoTimer extends TimerTask {

	@Autowired
	private IotsSystemMonitorService iotsSystemMonitorService;

	private static Logger logger = LoggerFactory.getLogger(ClearInfoTimer.class);

	@Override
	public void run() {
		// TODO 设置每晚定时任务，删除7天之前的数据。 iotsSystemMonitorService
	}

}
